package com.xana.acg.fac.model.biliLive;


import com.xana.acg.fac.model.api.Resp;

import java.util.List;

public class UriResp extends Resp {
    private Data data;

    @Override
    public boolean success() {
        return true;
    }

    public String getUri(){
        return data.durl.get(0).getUrl();
    }

    static class Data{
        private int current_qn;
        private List<QuDesc> quality_description;
        private List<UriItem> durl;

        public int getCurrent_qn() {
            return current_qn;
        }

        public List<QuDesc> getQuality_description() {
            return quality_description;
        }

        public List<UriItem> getDurl() {
            return durl;
        }
    }

    static class QuDesc{
        /**
         * qn : 10000
         * desc : 原画
         */
        private int qn;
        private String desc;

        public void setQn(int qn) {
            this.qn = qn;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public int getQn() {
            return qn;
        }

        public String getDesc() {
            return desc;
        }
    }
}
